package com.jueling.culture.mapper;

import com.jueling.culture.core.Mapper;
import com.jueling.culture.dto.dto.BoleAwardDTO;
import com.jueling.culture.dto.req.QueryVO;
import com.jueling.culture.model.BoleAward;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linp
 * @date 2022/04/11
 */
public interface BoleAwardMapper extends Mapper<BoleAward> {

    /**
     * 伯乐奖领取
     * @param bljId
     * @param type
     */
    void updateBoleAward(@Param("bljId") String bljId, @Param("type") String type);

    /**
     * 调用函数
     */
    void dealWithBoleAward();

    /**
     * 查询伯乐奖列表
     * @param queryVO
     * @return
     */
    List<BoleAwardDTO> getBoleAwardList(QueryVO queryVO);
}